<?php
/*
 * @Author: lokei
 * @Date: 2023-01-14 23:10:14
 * @LastEditors: lokei
 * @LastEditTime: 2023-01-14 23:11:19
 * @Description: 
 */
namespace App\Http\Controllers\Chuxing;

use App\Common\Tools\ResultTool;
use App\Http\Controllers\Controller;
use App\Models\Chuxing\PassengerModel;
use Illuminate\Http\Request;

class PassengerController extends Controller {
    public function get(Request $request) {
        $passenger = PassengerModel::where('id', '=', $request->input('id'))->first();
        $res = ResultTool::success();
        $res['data'] = $passenger;
        return $res;
    }
}